/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */

html.swipebox-html.swipebox-touch {
    overflow: hidden !important;
}

#swipebox-overlay img {
    border: none !important;
}

#swipebox-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999 !important;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

#swipebox-container {
    position: relative;
    width: 100%;
    height: 100%
}

#swipebox-slider {
    -webkit-transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    position: absolute;
    display: none;
    /*cursor:pointer;*/
    box-sizing: border-box;
}

#swipebox-slider .slide {
    height: 100%;
    width: 100%;
    line-height: 1px;
    text-align: center;
    display: inline-block
}

#swipebox-slider .slide:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px
}

#swipebox-slider .slide .swipebox-inline-container,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    vertical-align: middle
}

#swipebox-slider .slide .swipebox-video-container {
    background: 0 0;
    max-width: 1140px;
    max-height: 100%;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

#swipebox-slider .slide .swipebox-video-container .swipebox-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative
}

#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0
}

#swipebox-slider .slide-loading {
    background: url("img/loading32.gif") 50% no-repeat;
    background-size: 32px;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
    -webkit-transition: .5s;
    transition: .5s;
    position: absolute;
    left: 0;
    z-index: 999;
    height: 50px;
    width: 100%
}

#swipebox-bottom-bar {
    bottom: -50px
}

#swipebox-bottom-bar.visible-bars {
    -webkit-transform: translate3d(0, -50px, 0);
    transform: translate3d(0, -50px, 0)
}

#swipebox-top-bar {
    top: -50px
}

#swipebox-top-bar.visible-bars {
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0)
}

#swipebox-title {
    display: block;
    width: 100%;
    text-align: center
}

#swipebox-close,
#swipebox-next,
#swipebox-prev {
    background: transparent url("../img/my_icons.png") 0 no-repeat;
    background-size: auto 28px;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    width: 28px;
    height: 28px;
    top: 0
}

#swipebox-arrows {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 50px
}

#swipebox-prev {
    background-position: -28px 0;
    float: left
}

#swipebox-next {
    background-position: -56px 0;
    float: right
}

#swipebox-close {
    top: 10px;
    right: 10px;
    position: absolute;
    z-index: 9999;
    background-position: 0
}

.swipebox-no-close-button #swipebox-close {
    display: none
}

#swipebox-next.disabled,
#swipebox-prev.disabled {
    opacity: .3
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
    -webkit-animation: rightSpring .3s;
    animation: rightSpring .3s
}

.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
    -webkit-animation: leftSpring .3s;
    animation: leftSpring .3s
}

.swipebox-touch #swipebox-container:after,
.swipebox-touch #swipebox-container:before {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    content: ' ';
    position: absolute;
    z-index: 999;
    top: 0;
    height: 100%;
    width: 20px;
    opacity: 0
}

.swipebox-touch #swipebox-container:before {
    left: 0;
    -webkit-box-shadow: inset 10px 0 10px -8px #656565;
    box-shadow: inset 10px 0 10px -8px #656565
}

.swipebox-touch #swipebox-container:after {
    right: 0;
    -webkit-box-shadow: inset -10px 0 10px -8px #656565;
    box-shadow: inset -10px 0 10px -8px #656565
}

.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before,
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
    opacity: 1
}

@-webkit-keyframes rightSpring {
    0% {
        left: 0
    }

    50% {
        left: -30px
    }

    100% {
        left: 0
    }

}

@keyframes rightSpring {
    0% {
        left: 0
    }

    50% {
        left: -30px
    }

    100% {
        left: 0
    }

}

@-webkit-keyframes leftSpring {
    0% {
        left: 0
    }

    50% {
        left: 30px
    }

    100% {
        left: 0
    }

}

@keyframes leftSpring {
    0% {
        left: 0
    }

    50% {
        left: 30px
    }

    100% {
        left: 0
    }

}

@media screen and (min-width:800px) {
    #swipebox-close {
        right: 27px
    }

    #swipebox-arrows {
        width: 92%;
        max-width: 800px
    }

}

#swipebox-overlay {
    background: #fff
}

#swipebox-bottom-bar,
#swipebox-top-bar {
    /*text-shadow:1px 1px 1px #000;*/
    /*background:rgba(255,255,255,0.5);*/
}

#swipebox-top-bar {
    color: #fff !important;
    font-size: 15px;
    line-height: 43px;
    font-family: Helvetica, Arial, sans-serif
}

.opacity-black #swipebox-bottom-bar,
.opacity-black #swipebox-top-bar {
    background: none;
}

#swipebox-bottom-bar.swipebox-bottom-bar--pos-center {
    top: 50%;
    bottom: auto;
    margin: 22px 0 0;
}

#swipebox-arrows.swipebox-arrows--pos-center {
    width: 92%;
    max-width: 92%;
}

.opacity-black #swipebox-prev,
.opacity-black #swipebox-next,
.opacity-black #swipebox-close {
    font-family: Ionicons;
    background: none;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.opacity-black #swipebox-prev:after,
.opacity-black #swipebox-next:after,
.opacity-black #swipebox-close:after {
    font: normal normal normal 16px / 1 FontAwesome;
    color: #FFF;
    background: none;
    font-size: 35px;
    line-height: 50px;
}

.opacity-black #swipebox-prev:after {
    content: "\f053";
    display: inline-block;
    margin-right: 1px;
}

.opacity-black #swipebox-next:after {
    content: "\f054";
    display: inline-block;
    margin-left: 1px;
}

.opacity-black #swipebox-close:after {
    content: "\f00d";
    font-size: 19px;
}

.opacity-black #swipebox-slider .slide img {
    padding: 10px;
    background: #FFF;
    box-sizing: border-box;
}

.swipebox-thumbs {
    position: absolute;
    width: 100%;
    bottom: 15px;
}

#swipebox-overlay.opacity-black {
    background: rgba(0, 0, 0, 0.9);
}

.swipebox-thumbs {
    text-align: center;
}

.swipebox-thumbs_el {
    background: #FFF;
    height: 54px;
    line-height: 44px;
    width: 54px;
    text-align: center;
    display: inline-block;
    margin: 5px;
    padding: 3px;
    vertical-align: top;
    box-sizing: border-box;
    border: 2px solid #fff;
}

.swipebox-thumbs_el--icon {
    text-decoration: none;
    font-size: 26px;
}

@media (max-width: 750px) {
    .swipebox-thumbs_el {
        height: 44px;
        line-height: 34px;
        width: 44px;
        margin: 2px;
    }

    .swipebox-thumbs_el--icon {
        font-size: 20px;
    }
}

.swipebox-thumbs_el img {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}